Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.quota.listeners--listener

This contribution is part of XML component org.nuxeo.ecm.quota.listeners inside nuxeo-quota-core-6.0.jar

Extension Point

Extension point listener of component EventServiceComponent.

Contributed Items

  • <listener async="false" class="org.nuxeo.ecm.quota.QuotaStatsListener" name="quotaStatsListener" order="100" postCommit="false">
          <event>documentCreated</event>
          <event>aboutToRemove</event>
          <event>documentCreatedByCopy</event>
          <event>documentMoved</event>
          <event>documentModified</event>
          <event>beforeDocumentModification</event>
          <event>aboutToRemoveVersion</event>
          <event>lifecycle_transition_event</event>
          <event>documentCheckedIn</event>
          <event>documentCheckedOut</event>
          <event>documentRestored</event>
          <event>beforeRestoringDocument</event>
        </listener>
  • <listener async="true" class="org.nuxeo.ecm.quota.size.QuotaComputerProcessor" name="quotaProcessor" order="100">
          <event>quotaUpdateNeeded</event>
        </listener>
  • <listener async="false" class="org.nuxeo.ecm.quota.QuotaUserWorkspaceListener" name="quotaUserWorkspaceSetter" order="110">
          <event>userWorkspaceCreated</event>
        </listener>

XML Source

<extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">

    <listener async="false" class="org.nuxeo.ecm.quota.QuotaStatsListener" name="quotaStatsListener" order="100" postCommit="false">
      <event>documentCreated</event>
      <event>aboutToRemove</event>
      <event>documentCreatedByCopy</event>
      <event>documentMoved</event>
      <event>documentModified</event>
      <event>beforeDocumentModification</event>
      <event>aboutToRemoveVersion</event>
      <event>lifecycle_transition_event</event>
      <event>documentCheckedIn</event>
      <event>documentCheckedOut</event>
      <event>documentRestored</event>
      <event>beforeRestoringDocument</event>
    </listener>

    <listener async="true" class="org.nuxeo.ecm.quota.size.QuotaComputerProcessor" name="quotaProcessor" order="100">
      <event>quotaUpdateNeeded</event>
    </listener>

     <listener async="false" class="org.nuxeo.ecm.quota.QuotaUserWorkspaceListener" name="quotaUserWorkspaceSetter" order="110">
      <event>userWorkspaceCreated</event>
    </listener>

  </extension>